package com.atguigu;

public class Windows1Test {
    public static void main(String[] args) {
        Windows1 windows1 = new Windows1();
        Thread thread1= new Thread(windows1);
        Thread thread2 = new Thread(windows1);
        Thread thread3 = new Thread(windows1);
        thread1.setName("窗口1");
        thread2.setName("窗口2");
        thread3.setName("窗口3");
        thread1.start();
        thread2.start();
        thread3.start();
    }
}
